package com.lijie.ljblog.common.base;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @Description
 * @Author lijie
 * @Date 2022/7/19 15:41
 **/
public interface MyBaseMapper<T> extends BaseMapper<T> {

    /**
     * 自定义批量插入
     * @param list
     * @return
     */
    int insertBatch(@Param("list") List<T> list);
}
